<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>initElementOK.jsp</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script language=javascript>
		var a="<%=request.getAttribute("projectId")%>";
		function back(){
				opener.window.location.href="<%=path %>/changeProject.do?proId="+a;
				window.close();
		}
		function setUser(){
			if(a!=null && a!=""){
				window.location.href="<%=path %>/pOperate/intoSetRegusers.do?projectId="+a;
			}else{
				a=<%=request.getAttribute("ID")%>;
				window.location.href="<%=path %>/pOperate/intoSetRegusers.do?projectId="+a;
			}
		}
	</script>
    <style type="text/css">
<!--
.STYLE1 {font-size: 12px}
-->
    </style>
</head>
  
  <body>
    <div align="center"></div>
  <table width="600" border="0" align="center">
    <tr>
      <td height="400" bgcolor="#FFFFFF"><div align="center">
          <label><span class="style1 STYLE1"><bean:message key="initialize"/>&nbsp; <bean:message key="element"/>&nbsp; <bean:message key="success"/></span></label>
          <p>
            <input name="btnBack" type="button" id="btnBack" value='<bean:message key="homepage"/>' onClick="back();">
          </p>
          <p>
            <input type="button" value='<bean:message key="set"/>&nbsp; <bean:message key="participant"/>' onClick="setUser();">
          </p>
      </div></td>
    </tr>
  </table>
  </body>
</html>
